package com.talkweb.newproject.admin.sysrole.dao;

import com.talkweb.newproject.admin.sysrole.dto.SysRoleDTO;

import java.util.List;
import java.util.Map;

/**
 * Created by qsf on 2019/4/18.
 */
public interface SysRoleDao {
    int insertSysRole(Map<String, Object> paramsMap);

    void updateSysRole(Map<String, Object> params);

    int deleteSysRoleById(String id);

    SysRoleDTO querySysRoleByPrimaryKey(String id);

    List<SysRoleDTO> selectSysRoleByUserId(Map<String, Object> params);

    List<SysRoleDTO> searchSysRole(Map<String, Object> params);

    SysRoleDTO queryLikeSysRole(Map<String, Object> params);
}
